// jest.setup.js
require('dotenv').config();

// jest.setup.js or at the top of your test file
// import { jest } from '@jest/globals';

// import * as ApolloClientTypes from '@apollo/client/core'; // Adjusted import path

// // Mocking directly from '@apollo/client/core' might need adjustment based on your usage
// jest.mock('@apollo/client/core', () => ({
//   ApolloClient: jest.fn().mockImplementation(() => ({
//     query: jest.fn(),
//     mutate: jest.fn(),
//     cache: new (jest.fn())(),
//     link: new (jest.fn())(),
//   })),
//   InMemoryCache: jest.fn(() => ({})),
//   ApolloLink: jest.fn(() => ({})),
//   gql: jest.fn(),
//   // Mock other functions or classes as needed
///}));
